<?php
	$xmlfile = fopen("saves/" . $_POST["name"], "w");
	fwrite($xmlfile, $_POST["xml"]);
	fclose($xmlfile);
?>